const advcolumns = {
  unpay: [
    {
      title: '客户来源',
      dataIndex: 'source',
      scopedSlots: {
        customRender: 'source'
      },
      filters: [
        {
          text: '网站咨询',
          value: '10'
        },
        {
          text: '人工录入',
          value: '20'
        },
        {
          text: '黄页客户',
          value: '30'
        },
        {
          text: '二次资源',
          value: '40'
        },
        {
          text: '商务通400',
          value: '50'
        }
      ]
    },
    {
      title: '类型',
      dataIndex: 'intentions_s',
      scopedSlots: {
        customRender: 'intention'
      },
      filters: [
        {
          text: '商标',
          value: '10'
        },
        {
          text: '版权',
          value: '20'
        },
        {
          text: '专利',
          value: '30'
        },
        {
          text: '设计',
          value: '40'
        },
        {
          text: '国际',
          value: '50'
        },
        {
          text: '开发',
          value: '60'
        }
      ]
    },
    {
      title: '客户名称',
      dataIndex: 'customer_name',
      scopedSlots: {
        filterDropdown: 'filterDropdown'
      }
    },
    {
      title: '注册名称',
      dataIndex: 'business_name',
      scopedSlots: {
        customRender: 'tm_name',
        filterDropdown: 'filterDropdown'
      }
    },
    {
      title: '客户状态',
      dataIndex: 'customer_status',
      ellipsis: true,
      scopedSlots: {
        customRender: 'customer_status'
      }
    },
    {
      title: '电话',
      dataIndex: 'phone',
      width: '150px',
      scopedSlots: {
        filterDropdown: 'filterDropdown',
        customRender: 'phone'
      }
    },
    // {
    //   title: '归属地',
    //   dataIndex: 'district'
    // },
    {
      title: '行业',
      dataIndex: 'industry',
      scopedSlots: { filterDropdown: 'filterDropdown' },
      onFilter: (value, record) =>
        record.industry
          .toString()
          .toLowerCase()
          .includes(value.toLowerCase())
    },
    {
      title: '入库时间',
      dataIndex: 'received_at',
      sorter: true
    },
    {
      title: '预约联系时间',
      dataIndex: 'next_yy_time',
      width: '150px',
      sorter: true
    },
    {
      title: '最近联系时间',
      dataIndex: 'lately_contact_time',
      width: '150px',
      sorter: true
    },
    {
      title: '操作',
      dataIndex: 'action',
      width: '180px',
      scopedSlots: { customRender: 'action' }
    }
  ],
  paid: [
    {
      title: '客户名称',
      dataIndex: 'customer_name',
      scopedSlots: {
        filterDropdown: 'filterDropdown'
      }
    },
    {
      title: '电话',
      dataIndex: 'phone',
      scopedSlots: {
        customRender: 'phone',
        filterDropdown: 'filterDropdown'
      }
    },
    {
      title: '打款总额',
      dataIndex: 'amounts'
    },
    // {
    //   title: '合同',
    //   dataIndex: 'contract_no',
    //   scopedSlots: {
    //     customRender: 'contract',
    //     filterDropdown: 'filterDropdown'
    //   }
    // },
    // {
    //   title: '业务',
    //   dataIndex: 'business_name',
    //   scopedSlots: {
    //     filterDropdown: 'filterSelect'
    //   }
    // },
    {
      title: '最后一次成单时间',
      dataIndex: 'cp_check_time',
      sorter: true
    },
    {
      title: '最近联系时间',
      dataIndex: 'lately_contact_time',
      sorter: true
    },
    {
      title: '操作',
      dataIndex: 'action',
      width: '150px',
      scopedSlots: { customRender: 'action' }
    }
  ],
  contract: [
    {
      title: '客户名称',
      dataIndex: 'customer_name'
    },
    {
      title: '电话',
      dataIndex: 'phone',
      scopedSlots: { customRender: 'phone' }
    },
    {
      title: '合同编号',
      dataIndex: 'contract_no'
    },
    {
      title: '业务类型',
      dataIndex: 'business_type'
    },
    {
      title: '业务名称',
      dataIndex: 'business_name'
    },
    {
      title: '业务更新状态',
      dataIndex: 'status'
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: { customRender: 'action' }
    }
  ],
  business: [
    {
      title: '业务编号',
      dataIndex: 'business_no',
      scopedSlots: { filterDropdown: 'filterDropdown' }
    },
    {
      title: '合同编号',
      dataIndex: 'contract_no',
      scopedSlots: { filterDropdown: 'contract_no' }
    },
    {
      title: '商标名称',
      dataIndex: 'sb_name'
    },
    {
      title: '客户姓名',
      dataIndex: 'customer_name'
    },
    {
      title: '电话',
      dataIndex: 'phone',
      scopedSlots: {
        customRender: 'phone',
        filterDropdown: 'filterDropdown'
      }
    },
    {
      title: '业务类型',
      dataIndex: 'category',
      scopedSlots: {
        customRender: 'category'
      }
    },
    {
      title: '业务名称',
      dataIndex: 'business_name',
      scopedSlots: { filterDropdown: 'filterDropdown' }
    },
    {
      title: '业务更新状态',
      dataIndex: 'status2_name'
    },
    {
      title: '更新时间',
      dataIndex: 'updated_at',
      sorter: true
    },
    {
      title: '操作',
      dataIndex: 'action',
      width: '150px',
      scopedSlots: { customRender: 'action' }
    }
  ],
  reject: [
    {
      title: '商标名',
      dataIndex: 'business_name',
      scopedSlots: { filterDropdown: 'filterDropdown' }
    },
    {
      title: '电话',
      dataIndex: 'phone',
      scopedSlots: {
        customRender: 'phone',
        filterDropdown: 'filterDropdown'
      }
    },
    {
      title: '注册号',
      dataIndex: 'registration_no',
      scopedSlots: {
        filterDropdown: 'filterDropdown'
      }
    },
    {
      title: '注册类别',
      dataIndex: 'tm_category'
    },
    {
      title: '申请人/法人',
      dataIndex: 'apply'
    },
    {
      title: '初审日期',
      dataIndex: 'first_time',
      sorter: true
    },
    {
      title: '申请日期',
      dataIndex: 'apply_time',
      sorter: true
    },
    {
      title: '操作',
      dataIndex: 'action',
      width: '150px',
      scopedSlots: { customRender: 'action' }
    }
  ],
  iso: [
    {
      title: '商标名',
      dataIndex: 'business_name',
      scopedSlots: {
        filterDropdown: 'filterDropdown'
      }
    },
    {
      title: '电话',
      dataIndex: 'phone',
      scopedSlots: {
        customRender: 'phone',
        filterDropdown: 'filterDropdown'
      }
    },
    {
      title: '注册资本',
      dataIndex: 'registered_capital',
      scopedSlots: {
        filterDropdown: 'filterDropdown'
      }
    },
    {
      title: '注册类别',
      dataIndex: 'tm_category'
    },
    {
      title: '申请人/法人',
      dataIndex: 'apply'
    },
    {
      title: '初审日期',
      dataIndex: 'first_time',
      sorter: true
    },
    {
      title: '申请日期',
      dataIndex: 'apply_time',
      sorter: true
    },
    {
      title: '操作',
      dataIndex: 'action',
      width: '150px',
      scopedSlots: { customRender: 'action' }
    }
  ],
  sos: [
    {
      title: '天数',
      dataIndex: 'days'
    },
    {
      title: '1',
      dataIndex: 'one'
    },
    {
      title: '2',
      dataIndex: 'two'
    },
    {
      title: '3',
      dataIndex: 'three'
    },
    {
      title: '4',
      dataIndex: 'four'
    },
    {
      title: '5',
      dataIndex: 'five'
    },
    {
      title: '6',
      dataIndex: 'six'
    },
    {
      title: '7',
      dataIndex: 'seven'
    },
    {
      title: '8',
      dataIndex: 'eight'
    },
    {
      title: '9',
      dataIndex: 'nine'
    },
    {
      title: '10',
      dataIndex: 'ten'
    }
  ],
  business_columns: [
    {
      title: '合同/业务编号',
      dataIndex: 'contract_no',
      scopedSlots: {
        customRender: 'contract_no',
        filterDropdown: 'filterDropdown'
      }
    },
    {
      title: '业务分类',
      dataIndex: 'business_name',
      scopedSlots: {
        customRender: 'business_name',
        filterDropdown: 'filterSelect'
      }
    },
    {
      title: '申请主体',
      dataIndex: 'subject',
      scopedSlots: {
        customRender: 'subject',
        filterDropdown: 'filterDropdown'
      }
    },
    {
      title: '业务名称',
      dataIndex: 'sb_name',
      scopedSlots: {
        customRender: 'sb_name',
        filterDropdown: 'filterDropdown'
      }
    },
    {
      title: '电话',
      dataIndex: 'phone',
      scopedSlots: {
        customRender: 'phone',
        filterDropdown: 'filterDropdown'
      }
    },
    {
      title: '费用',
      dataIndex: 'price',
      scopedSlots: { customRender: 'price' },
      sorter: true
    },
    {
      title: '当前进展',
      dataIndex: 'status2_name',
      width: '170px',
      scopedSlots: {
        customRender: 'status2',
        filterDropdown: 'filterSelect'
      }
    }
  ]
}

export default advcolumns
